import React, { FC } from 'react';

const EmployeeGroups: FC<{
  // eslint-disable-next-line react/require-default-props
  onChange?: any;
  // eslint-disable-next-line react/require-default-props
  value?: any[];
}> = ({ onChange, value }) => {
  return (
    value?.map((item: any, index: number) => {
      return (
        <div>
          {item.teacher_name}({item.teacher_id_number})
        </div>
      );
    }) || <></>
  );
};

export default EmployeeGroups;
